package jmini.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注释Model
 * @author Jason Ma
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface AP_MODEL{
	 /**
	  * 模型对应的表名
	  * @return
	  */
	 public String tableName();
	 /**
	  * 模型id是否为自增长字段
	  * @return
	  */
	 public boolean autoIncreaseId() default false;
	 
}